Revert "#1 Fix attribute visibility options error"

This reverts commit fb78fb59a92ec27e20a5904f230af0cf08c9b522.