Class representation and methods