Added return for initTypes