Added support for 2.0 branch.

Signed-off-by: ziycon <ziycon.eire@gmail.com>