Matter Lagrangians Coupled with Connections