Arduino Due With Atmel Studio 6.1 and ASF

I'm just following this now - however, when I go to build the project, my build fails and I get the following errors

'implicit declaratio of function delay_init' and the same for delay_ms

It almost seems I'm not importing something correctly, yet my code is identical to yours? Any ideas?