Change X and Y to lowercase, for consistency with other packages