Fixed issue with invalid implementation of interface