helper for registering cached server methods