Add the ability to set gravity and a utility to weaken bound methods.