Fix IsGenericParameter and GetInterfaces (#340)