Compact obj creation.