Safety check to see if the type exists before editing