Removed exceptions to rely solely on boolean return values.