Code style, removed unused method