Some standalone PHP classes to ease more pains.