$dep param must be an array

Resolves #6