Fix issue #123: override 'boilerplate' was done too late

This change seems to fix the issue for me.