Add double type recognition