Added Arduino hooks