I’m having the same problem and raised an issue here: Creating or customizing template that uses BaseTemplate