Fix for missing reference to instance