Clean up object initialization