Make sure `require_dependency` is called only once for every action

Otherwise, issues with type mismatch appear, when the old class
is still around while calling the require_dependency.

The classes are reloaded in `world.reload!`.