Fix #2

add index method to grab middleware handles for label assignments.