Move dummy_type to separate file and fix travis builds