Fixed declaration compatible with the interface

not a BOOM PR, but simple fixes :)