Simplifies controllers with resolver functions