Using klass to write OO classes.