Create one function by specific keys

Signed-off-by: Fabien Crassat <fabien@crassat.com>