Making makeLenses function.