Dropped reliance to the __CLASS__ magic constant.