Added ifdef for decay externs