Move index template to amqpcast.