Changed routes to end with extension name.

This is a workaround for Kitt that doesn't handle proper REST URLs yet.