Making transforms functional