Set class extension