custom decorator `prepare` for HubHandler