Removing unnecessary list creation.