Variable role checking.