Redirect all calls to getTypeId and getData to library-defined methods for future compatibility

Signed-off-by: Irmo van den Berge <bergerkiller@gmail.com>