Change weird way of adding an entry to SplObjectStorage