ThingWithCodes is already included by Entry.

 Including it again causes an error with mongoid4 because the field codes is being redeclared. Removing the duplicate include stops the error and does not seem to cause any additional issues.