Add activemodel as dependency.