Cleaned some codes.