added removeEntityFromCache method for Context