Remove route handlers hash.

Instead of having a hash and an array, use only the array. Rearrange
code to use the array everywhere.