Implemented policies to TypeController.