Allow to create new objects in collections
Added compatibility with #4077