Class and method modifiers

Should yield some speed increase.
Update results for Java.