Fix an issue with the way the class was called. Was missing required parameters.