Added scheduler decorator