Fixing dependencies. Adding exception if Metro is not installed.