Bugfixes component traits

Removed one error introduced, and made more trait types coercive.