Add removeAttribute method to Child