Clean up Worker code formatting