Make sure all attrs are only generated once at module load time