Manage extend options
Added extend dep. Added matchdep, might remove?