Population models with nonlinear boundary conditions.