Allowed users to define room-specific functions.