Corrected dependencies to work with Preview.