Simplify build system.
Disallow writes from index accessors.