Fixed: method declared twice

This regression has been introduced in
590f34df85d06936d4bf953c884efaef4f1d3a0a while solving EZP-20288.