$ProxyXX.beforeDelivery() and afterDelivery()