Actions now get passed global $context; close #176