To help future proof this a little, lets double check that the remove method exists before we call it.