Add a commit of generic method.