Compile methods in deterministic order