Fix #198: Enhance dependency validation using common code base.