Added class identifier functions and fixed print function names.