add check Long type function to add methods.