added protocol def so that core compiles