Revert "Added first try on pure java traits. May have bugs."

This reverts commit 78422295c17f29c3e30dd7c40d2ad18616799335.