Remove types module

Why was it added in the first place?