Add support for static columns with StaticColumnAttribute and cm.AsStatic()