Dual licensed under GNU LGPL 2.1 or Apache License 2.0