Update for router extension methods.

Refs cakephp/cakephp#4525
more like removed