Removing unnecessary dict.