Move `getObjects` to `fabric.Collection`. Add support for `getObjects(type)`. Version 1.3.10.