updated Module#getTypes