Class list and remove function