Added ability to encode MOZUScope object.