Removed the need to specify domain entity to the custom domain state
mapper