Actions should be passed by reference, not as strings that are `eval`'d. If strings should be used (say they are referred to in a config where the `im` object isn't available), then use array notation like `im[action](...)`