Moved setup to class-based method.