Fixed requires being referenced as a function