Adds various functions.