You shouldn't need the stan::agrad using statements.  You're already in the stan::agrad namespace and you already included the relevant files.