- added callable as return value in the document controller