Functionality for object instantiation