Reference counter simplification