Joint Models with Splines in the Longitudinal Submodel