Implement calling of external functions