Fix name of mem_attach_flags.SINGLE
Documentation for managed array API