Added Spock 1.0 compatibility