Removed whenLoaded and added promise property to record array and model