Fix type names in the docs