delete implement class grammar