Improve phpClass asserter.