add message class as response wrapper