Reorder setEnvironment and setObjectFormat calls makes a better triple