Added check dependency functions.