Update class.php

Added __call