change compute-slots to simple accessor class-slots