remove content logic from layout response class