Removed models dependency if mongo isn't used