Clean up preference names.