Updated pointer API to support multiple pointers