Expand controller template with request and response namespace