Added missing stub function and added SDK 2 and 3 support. Signed-off-by: Mark Charlebois <charlebm@gmail.com>