persist methods only if the class or module was not persistable