Added module dependency checks