Merge "Revert "Inline methods with loops.""