Respect const attribute.