Use custom typedefs