Added documentation to kernels.