Implement template reloading on the fly