Note inlining improvement from @ilmari.