Change Axis::sameAs() to Axis::equals()