Fixed get messages interface.