Removes a useless require and a duplicate constant definition