Fix file headers and footer for ELPA compatibility, add autoloads