Added synchronous functions.