Added more methods and a toString().