Fix bad use of __CLASS__ in bootstrap