v8: Added the actual code for the class.