Replace Datetime:: with self:: & static::