Add support for pre-sync commands