Add interface to register external functions (closes #10)