added Module#getTypes