Create remote functions for predefined scopes/relations

/to @ritch