Relax activemodel dependency