Removed unused template code.