Doc is an optional attribute