Added a method for retrieving a number of last messages.
Made progress towards class support in lobbies.