Updated to 2-clause BSD licence