Added gpio wrapper functions.