Fix index stretching.

This fixes an off-by-one bug introduced in ccffebe.
Make attributes type-safe and implement "skip."

The skip attribute, if present, means that indexes should not be built for the
given type. Internally, this means that we simply don't create an indexer for
the corresponding type.

Relates #52.