def METHOD_NAME(self):
    """`finalize` is called only once when the model is being unloaded.
    Implementing `finalize` function is optional. This function allows
    the model to perform any necessary clean ups before exit.
    """
    print("Cleaning up...")