Inline helper code.
Update index.