Remove comments and redundant code.