Update core rev.: use external lib for common functions.