Update resource handler to work with the new (optimized) route handling form