Make public API accept context as a string
Fix reflection case