Shouldn't the scope be always defined? Even an empty array is fine