Write a proper function epilogue.