Implement function mapping for basic functions