Basic devise stuff.