Removed the check for "null" from decodeString as not needed
Flagged legacy stuff as LEGACY, so it's easily searchable and trackable