Added more runtime functions.