Add calculate age function.