Added callbacks for actions