Removing unnecessary authentication code.