Added ref counters with proper deletion for the native Sound class