Extract config functionality.