Added a copyright and permission notice.
Simplified the fixed header interface.
Simplified the variable header interface.