Fixed static access through wrong type