Adding custom="true" attribute to <framework>, removing unused #imports