Externalize function constant processing