Check for dependencies before loading