Remove unnecessary blank lines and imports