Add a module API method to create a room.