Replaced instancetype with id in initializers since the initializers are already type checked by the compiler.