static connect(session) {
        if (!(session instanceof Session)) {
            throw new Error(
                "A model can only be connected to instances of Session."
            );
        }
        this._session = session;
    }
Connect the model class to a {@link Session}.

@private
@param  {Session} session - The session to connect to.