Changed module to type