The first one is allowed because its called a laser MODULE. Its a part for a laser. If it was marked as a POINTER, then it would be removed.
for the second one, its allowed because ita a DIODE, as in a part of a laser product. Its allowed because its not a laser POINTER. Who knows what it could...