updated classinstance method docstring