Implement logging for PLibrary methods not using dispatch(), and
implement all dispatch().