diff --git a/ignite-html-tabs.js b/ignite-html-tabs.js
index 07a25a3..91edd5d 100644
--- a/ignite-html-tabs.js
+++ b/ignite-html-tabs.js
@@ -9,7 +9,7 @@ import { IgniteTemplate, slot, div, html } from "../ignite-html/ignite-template.
* @param {Boolean} active Whether or not this tab is active by default.
* @returns {IgniteTemplate} This ignite template.
*/
-IgniteTemplate.prototype.tab = function(name, group = null, active = false) {
+function tab(name, group = null, active = false) {
//Set the starting class based on whether or not the tab is active.
if (active) {
this.class("tab-active");
@@ -47,7 +47,9 @@ IgniteTemplate.prototype.tab = function(name, group = null, active = false) {
this._callbacks.push(callback);
return this;
-};
+}
+
+IgniteTemplate.prototype.tab = tab;
class TabLink extends IgniteElement {
constructor() {