use Serializable<Proxy> instead of Proxy for instanceof and deleteProperty