add :doc for some functions