Remove optional flask code as LocalProxy can be registered directly if desired
register dict and set. Add test