Fixes backwards compability.