Removing licences from sample code only