add options, namespace and methods