Object handling

Add in function to enable calling object in the dict.