Removal of unused Warning class