Hmm, I don't see that on the latest on the branch and I agree that the template inherit should go first. I'll make sure that is the order.