Use interface rather than implementation in API