should we throw a deprecated error?