The template method is now correctly invoked.