Compounds of Formula (I), (wherein variables A1, A2, A3, A4, A5, A6, A7, A8, L, J, Q, R4, Ea, Eb, Ec, R6, R7, Re, Rf, RPG, W, Y and Z are as described herein) useful as antagonists of CGRP receptors, and useful in the treatment or prevention of diseases in which CGRP receptors are involved, such as headache, and in particular migraine and cluster headache. The invention is also directed to pharmaceutical compositions comprising these compounds and the use of these compounds and compositions in the prevention or treatment of such diseases in which CGRP receptors are involved.