Updated GetModule implementation and fixed comments