Added some requirements checks.