Fix ant warnings.
Add setMetaset API method.