Add activemodel as dependency.
Assign context methods.