Provided a common way to assign/free memory to/from objects.