Added incomplete porting of Z3.