Add more crude profiling features.
Implement accelerated functions.