Adding service hook