Add template repos functionality.