Inline object creation returns a contextual object rather than a basic object