added references to external functions so they are loaded when needed