Added support for 'scope' in array format