Move some protected methods to public

Starting with version 4.8 gcc complains about attempts to pass these
protected methods to NODE_SET_PROTOTYPE_METHOD as the callback.