rewrite CeL.set_method(). CeL.extend(): deprecated.