Refactored plugin runner into separate namespace.