Support custom template