Delete clip2 argument in registerFunc