Rudimentary functions.