Fixing block passing issues in registration and removing prepare method from base action plugin.