Make AdditionalDependencyAttribute support non-async module patterns as well.