Updated copyright notice, and made some API changes.