Extend spec by custom attribute.