Add comment.
Move hard-coded indices to Ruby constants.
Fix comment.
Minor cleanup.
Fix naming in error spec.
Improve naming.
Move constants into separate file.
Remove hard-coded constants.
Raise missing error.