Move entity representation classes to separate namespace.