Fixed some typings with the chain syntax