Remove unnecessary minimal layout.