Make sure SAXConfig getters do not modify internal vars.

This prevents various race conditions from happening.