Handle resolution scopes

Signed-off-by: Jesse Stuart <jesse@jessestuart.ca>