Fixed incorrect usage of interface