Found a better way for dependency configuration...