Used wrong class-definition syntax