Fixed a semantic in my class definition