Add licence header and remove nonexistent method