Speed up is_whitespace token check
Simplify unserialize(serialize()) to clone
Temp fix