 For example, in Common Lisp, this can be done via the method.This may be dangerous, however, if some other function is expecting it to be a .Some languages preclude this type of change, and others impose restrictions on the class to be an acceptable replacement for .