Adding maxrects private API.