Cleanup (warnings, imports, license headers)