Add boolean and dictionary write handlers.