Fixed a regression that prevented the type method from returning