Removed usage of new/delete operators.