Setup dependency arrays for quicker management

Use apply_filters() instead of scoped variables