Added stub request handlers.
Switch poll arguments.
Reverted switch poll arguments.
Migrated to dispatch function.