Bump Scala version
Fix type erasure warning
Remove unused dependency
Remove hidden imports