Replace decorator with signature (PEP 362)