Fix yard not being able to deprecate aliases