Remove unneeded strings from schema