Static method to get XMLElements is unnecessary