Added possibility to use nested context objects