Added sensor stuff.