From closures to controllers