Support Nullable binding and clean up codes.

Signed-off-by: yohan <yohan.zhou@gmail.com>