Object creation and handling

From Squirrel 3.0