Add parameter types and return types to docs.