Added templates which may or may not work.