proper use of get_class vs get_called_class(). closes #251