Made recipe detection modular