Add some function implementations.