Added custom service mechanism.