removes templates completely. Fix #20.