Removed warnings from layout.