Removed not used $Success variable.