Switch to function prototype to allow overridden methods

Signed-off-by: Eli Skeggs <eskeggs@globesherpa.com>