Made the interface more C#-like