refactor(Scope): remove useless compileToFn helper fn