Added x,y,z domain methods. Updated error handlers.