Fix deprecated warning (nightly 2014-12-23)