Needed for using inner classes or class factories for steps


Exact same behavior for the simple case of file per step as before.

Without this change, the method plugins() will not even return inner classes or classes produced by a factory.