Add definition method

Sensu uses it to determine the extension type.