Remove the entity proxy layer.