Added support for classes for server and deployment options.