add runtime managers patching via class_prepared signal