Add Registered function to help epoll