implemented Ons: onInstance(Object), onReturn(Class)