Remove activemodel and activerecord namespaces