Removed unnecessary layouts.