support array syntax for invoking with specified dependencies