Revert "@DomainClass moved to plugin until mature"

This reverts commit 55f92d8701795d8df58423b62efb73eef4df89d3.