Avoid useless Long.valueOf.
Cache singletons.