Added Type utilities, needles, and tests