Add definition method

Sensu uses it to determine extension type.