Cleaning up / documenting Scope.java