Cleanup sbt keys

Shouldn't we use sbt's scoping for that?