Allow context to be specified