consistency with #78

Converted samples to use the new dependency array syntax.