Added usage checking.