Fixed bad object type error with actions.