Add config helper. Closes #10.