Implemented delete_attribute method.