Strips off codename if found.