Implemented casting. Only axes complete so far.