Replaced 'object' with the old 'type' syntax.