Changing router interface to accept an array of methods.