Adding API definition to damonize a process.