Cleaned up public module API. Added ACC_VARARGS constant. More code tidying.