Change id to instancetype for some initialisers.