Correct export behavior

Correct the export to ignore lazy-init properties AND properly respect
protected properties.