Added empty $class variable

Added empty $class variable in the __callStatic method to avoid a
notice.