Added variant (options) support to python server.