Implement create_cytology and bug fixes.