Removes dependency on ActiveModel.

We don't need to depend on `ActiveModel` to validate the two most
important keys are set at initialization.

Now, resorting to raising errors if these keys are missing.