You do the same thing w/ on_request_uri, too. Except instead of get_resource, your module is using get_module_resource.