Adding function signature to docs