Added members to obstacle class