Sign functions in lib/