non-sucky :before and :after callbacks for any ruby class