Added initialize and shutdown calls