Minor enhancements to the API -- onCap now takes a list for the list