Removed logging messages, as they are bad practice and can't easily be surpressed.