Adding diameter code.