The only method it defines is get() which is not enough for class. Also it uses first() which might mask bugs when a maximum one row is expected but (erroneous) query returns many. In most cases calling scalar() is preferred, while first() should be used in the cases when you know what you are doing.