Clean up pim init