common_docs function

Common arguments and documentation for various functions