Bugfix, to make optional entity traits work

Search the whole package tree for the implementation of an optional entity trait, since the implementation will never be in the same package.
align =