Method to get the managedObject from the main context.