Added transformNull support.