More functional functions.