Initial implementation with incomplete documentation.