Object creation and handling

From Squirrel 2.2