Minor clean up

Various clean ups :

* Removed unused imports
* Implementation-less abstract classes changed to traits
* use mutable.Map.empty without extra typing info when possible
* Cleaned up GroupBuffers (related to #960)
* Removed unused helper methods