documentation, slight API change