MSP: Replace shared_ptr usage by standard pointers