Fix #1058: Allow exporting protected members

Ah but then that comment should not change ;-)