Update class.php

Removed a few functions