Added way to define extra scopes for dictionaries and aliases