Changed name of function integral_type() to type() in OneBodyEngine.