Added @Sender to mark the command method sender parameter, fixed several bugs