class_prepared signal