object-oriented interface and compatibility