Add ctx to registry interfaces
Add ctx to registry test cases
Merge pull request #1463 from derekwaynecarr/introduce_context_obj

Add ctx object to registry interface