added necessary extension methods (see issues 1 and 2 of jbrichau/zinc project about this)