#18 Separate interface for java and .net