modernize Rubydoc service hook