Fix unused parameters warning

This commit fixes issue #621