Use setObject and getObject