update deps, deprecate addHandler, fix warnings

nl between static and package private