Fixed vendor extension issue. GitHub #315