label in the first console.log remains undefined. Am I doing the overriding wrong in this case? The comment at the bottom also mentions the following steps I want to move towards: Creating a populate function that creates a new class instance from a schema by overriding certain properties.