Initial implementation for service hooks.
Making JSHint happy.