Updated with new internal pragma