convert more of AbstractWorkspace to Scala