Fixed resource pointer arguments + destructor copying.