Parse dependencies