Fixes specs on 1.8.7