[beta] Replaces anonynoums functions with named ones