Added true/false (suceed/fail) return values to various functions.