Support for external functions