Support for doc generation