class def