* Copyright (c) 2011-2015 by Ville Karavirta and Cliff Shaffer * Released under the MIT license. */