use magic decorator methods to reproduce older behavior