Fixed compilation errors and refactored out default vertex label