Don't error if action handler isn't defined.

Should have tested this before putting it in 'production'.