use new method name
Merge pull request #3 from arv/fix-doc-register

use new method name