调整了一些实现细节。

Signed-off-by: Meathill <meathill@gmail.com>