Add onLocation and onPlace events.