Make sure resource interfaces have at least 1 method

It doesn't make sense to create a client proxy for an empty interface. Fail fast to prevent confusing errors down the road.