Initial source code implementation.