AOP Implementation for the Python