Make StackItem dependency and resource properties public.

This way plugins can modify them in the filter, in case they want to combine or replace resources.