Add checks for required packages