minor changes to partial and class methods