added return to docs support