Avoid 'superclass mismatch error'

This commit solves a 'superclass mismatch for class HandlebarsTemplate' error.