Added "config" shortcut method, tests and docs.