Fix static registration problem in documentation.