passClasses: add docstring to replace