fix config usage

Fix method names in doc.