Added context to global selectors. closes #1