Cleaning up spec output