Make typemap dependency explicit.