refactor

Signed-off-by: Akira Hayakawa <ruby.wktk@gmail.com>
fix: use voidArgs() in register_args

Signed-off-by: Akira Hayakawa <ruby.wktk@gmail.com>