Bug fix for unused parameter in v1.24 (see 442d67cf4dd39d71c7797c9f07540df6f715d8b4)