Add some function support into sandbox