Most things that are monkey-patched (in general) can usually just be passed into an object's __init__ method. Check out "composition vs. inheritance"