Consistent platforms: cleaning code