Updated multi-include security for pin_api.