Examples: move methods to improve code locality.