Remove @resource reference.