Hacky support for scope.get_hash