Add 'yard' dependency to the right place