Is worship of Lord Hanuman practice of Shaivism or Vaishnavism, or both?

I am curious to know what others think of it.