extended getters for scopes and functions
update javadoc