The former will be deprecated and eventually removed from Hugo. Note: Currently both of them exist in Hugo, which is the reason for the cleanup.