Add more API template and implement nick change event.