WORKING VERSION: Fixed dependencies.