Add alias for defineType / convert for backwards compat.