Some type hinting in controllers