added KeyPaths in model class