Add support for custom commands.

Signed-off-by: Victor Berger <victor.berger@m4x.org>