Different hacks for standard libraries in Java(support for other languages will be added further)