Add license headers and documentation to callbacks