Remove varargs warning.
Remove deprecated parser method.
Fix null hash test.
Move anonymous class into inner class.