Added beep and flash methods to context.
note on possible improvement to API.