Removed GetLastErrorCode()
Attached class name to static function