Started implementing functional runtime.