Remove legacy profile

Last piece of XD-1040. Removes all references to the legacy profile.
Tests green. Probably could do with some more tyre kicking, but
I guess we wanted this to happen so maybe worth merging and seeing
where it lands?