Fix for incompatible types (Slots list)
References, Paths and other minor changes from UnityEditor