PR: MNG-479 Submitted by: Rahul Thakur Reviewed by: Brett Porter if you define a repository it should override anything in the parent with the same ID Also, cleaned up logic in assembler based on intentions