3.7: adds two new class functions.