Doh! Forgot open/close functions.