Module dependency checking.