Bring prepend() in line with register()
Add test for processor registry