Make sure _proxy_slots is not undef.

This condition can happen when no correlated methods defined, but the component is loaded anyways in the base class. Then when you copy, `_proxy_slots` is `undef` and results in an error.