Avoid depreciation warning. fixes #127.