Remove unnecessary layout params.