Added checking for the result of Axis methods.