ThreadLocal objects should be static
ObjectSerializer should be final