Make handler_url and resources_url properly abstract