Added fifo_dt:type/1 to determine the type.
Changed how type returns data.