itemController property can also take a controller class directly.

Updated the documentation for itemController.

This aims to implement the issue discussed at #5174