Remove unused and empty to_config method.
Move all 'private' methods to after __init__.