Added | and & operators to anchor type, so that code can properly deal with it.