Fix class declaration

I'm using the CoffeeScript class structure to create a true named
function where I can modify the prototype.