Cleaning generated domain entities related code