A few more utility functions for the index.