eagerly initialize the attributes module to avoid check-then-set race conditions