Internal refactor: Make Ctx's factory constructor primary
Make the context factory fields public to make setting state easier and less verbose.