replaced optional BOOL parameters with NSNumber parameters so that they can be nil
replaced optional BOOL parameters with NSNumber parameters so that they can be nil
replaced optional BOOL parameters with NSNumber parameters so that they can be nil
fixed typos
made ‘cursor’ parameter actually optional